package dnsprobe.test;

import java.text.SimpleDateFormat;
import java.util.Date;

public class test
{
	@SuppressWarnings("unused")
	public static void main(String[] args)
	{
		SimpleDateFormat sdf;
		Date date;
		
		long nigger;
		long jude;
		
		nigger = System.currentTimeMillis();
		try
		{
			Thread.sleep(3000);
		}
		catch(InterruptedException e)
		{
			
		}
		jude = System.currentTimeMillis();
		
		System.out.println(Long.toString(jude - nigger));
		
		long duration = jude - nigger;
		
		long ms = duration % 1000;
		duration = duration / 1000;
		long s = duration % 60;
		duration = duration / 60;
		long m = duration % 60;
		duration = duration / 60;
		long h = duration % 60;
		duration = duration / 60;
		long d = duration % 24; 
		
		System.out.println(d + "d " + h + "h " + m + "m " + s + "s " + ms + "ms");
	}
}
